<table width="100%" border="1">
  <tr>
    <th scope="row" width="20%">
		<div class="" style="padding:4px 0px 0px 15px;">
		  <p><span class="name" style="padding:4px 0px 0px 15px;">
	        <a href="/index/" class="active STYLE1">首页</a></span></p>
		  <p><span class="name" style="padding:4px 0px 0px 15px;"> 
	        <a href="/add_goods/" class="active STYLE1">填加商品</a></span></p>
		  <p><span class="name" style="padding:4px 0px 0px 15px;"> 
	        <a href="/sell_goods/" class="active STYLE1">出售商品</a></span></p>
		  <p><span class="name" style="padding:4px 0px 0px 15px;"> 
	        <a href="/list/" class="active STYLE1">察看商品列表</a> 
	        </span></p>
		  <p><span class="name" style="padding:4px 0px 0px 15px;"><a href="/polling/" class="active STYLE1">拍卖中的商品</a> 
            </span></p>
		  <p><span class="name" style="padding:4px 0px 0px 15px;"><a href="/personal/" class="active STYLE1">个人竟标信息</a></span>
	        </p>
		</div></th>
    <td><table width="90%" border="1" align="center">
      <tr align="center">
          <td>商品名称：</td>
          <td>商品数量：</td>
          <td>商品单价：</td>
		  <td>起始时间：</td>
		  <td>结束时间：</td>
        </tr>
    <!--
<?php
	$uid = $udb->sqls("select user_id from user_table where user_name='$session'");
	$uid = $uid[0]["user_id"];
	$otime = time();
	$SQLshow = $udb->sqls("select a.freight_name,b.begintime,b.endtime,b.fnum,b.fprice from freight_table as a left join sale_table as b on a.freight_id=b.fid where a.sign=1 and b.endtime>$otime");
	if ($SQLshow==false) $sql_err = $class_go->sql_err("select");
	$i = 0;
	if (!$sql_err)
		{
		foreach($SQLshow as $key=>$value)
			{
				$wname = $class_go->C_title($value[freight_name]);
				$wnum = $class_go->C_title($value[fnum]);
				$wprice = $class_go->C_title($value[fprice]);
				if($value[begintime]==0){$btime=null;}
				else{$btime = $class_go->r_time($value[begintime]);}
				if($value[endtime]==0){$etime=null;}
				else{$etime = $class_go->r_time($value[endtime]);}
				
print <<<EOT
-->

 		<tr>
          <td a>$wname</td>
          <td>$wnum</td>
          <td>$wprice</td>
		  <td>$btime &nbsp;&nbsp;&nbsp;</td>
		  <td>$etime </td>
        </tr>
		<!--
EOT;
	$i++;
	}
}else
{
	echo"没有数据！";
}
?>
print <<<EOT
-->

      </table>
	  </div>
  <div style="clear:both"></div>
</div>
</div>
</table>
</body>
</html>
